/*!
 * @file Game.inl
 * @author Rocco Martino
 */
/***************************************************************************
 *   Copyright (C) 2014 by Rocco Martino                                   *
 *   martinorocco@gmail.com                                                *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Lesser General Public License as        *
 *   published by the Free Software Foundation; either version 2.1 of the  *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU Lesser General Public      *
 *   License along with this program; if not, write to the                 *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/

#ifndef _OOGAME_GAME_INL
#define _OOGAME_GAME_INL




/* ======================================================================= */
/* ....................................................................... */
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::Game::setState( unsigned int state )
{
    m_state = state ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline unsigned int
ooGame::Game::getState(void) const
{
    return m_state ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::Game::setSensorList( const SensorList& sensor_list )
{
    m_sensor_list = sensor_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline ooGame::SensorList&
ooGame::Game::getSensorList(void)
{
    return m_sensor_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline const ooGame::SensorList&
ooGame::Game::getSensorList(void) const
{
    return m_sensor_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::Game::setControllerList( const ControllerList& controller_list )
{
    m_controller_list = controller_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline ooGame::ControllerList&
ooGame::Game::getControllerList(void)
{
    return m_controller_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline const ooGame::ControllerList&
ooGame::Game::getControllerList(void) const
{
    return m_controller_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline void
ooGame::Game::setActuatorList( const ActuatorList& actuator_list )
{
    m_actuator_list = actuator_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline ooGame::ActuatorList&
ooGame::Game::getActuatorList(void)
{
    return m_actuator_list ;
}
/* ....................................................................... */
/* ======================================================================= */




/* ======================================================================= */
/* ....................................................................... */
inline const ooGame::ActuatorList&
ooGame::Game::getActuatorList(void) const
{
    return m_actuator_list ;
}
/* ....................................................................... */
/* ======================================================================= */




#endif /* _OOGAME_GAME_INL */
